<h1>Reporting Sytem</h1>
<h2>Pilih Jenis Laporan</h2>
<p>
    <script>
        $(function() {
            $( "#pil_tgl" ).datepicker();
            $( "#pil_tgl" ).datepicker("option", "dateFormat", "yy-mm-dd");
        });
				
        function redirect(){
            tgl = $( "#pil_tgl" ).val();
            location.href = '<?php echo base_url() ?>pendaftaran/daftar_con/day_report/'+tgl;
        }
				
    </script>
    <a href="<?php echo base_url() ?>pendaftaran/daftar_con/term_report">Term Report</a><br />
    <a href="<?php echo base_url() ?>pendaftaran/daftar_con/day_report/<?php echo date('Y-m-d') ?>">Today Report</a><br />
    <a href="#" onclick="redirect()">Daily Report </a>&nbsp;<input type="text" id="pil_tgl"/>
    <br />
</p>
</div>

<div id="kanan"> 
    <img src="<?php echo base_url() ?>images/logocic.png" width="620" height="350" />
</div>
<div class="clear"></div>
</body>
</html>
